Part Number Hot Search : 
101110F MH383D 74270036 1008F 74270036 U2040F MPC5603B SFH426
Product Description
Full Text Search
 

To Download AK8859VN Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  [AK8859VN] ms1179-e-00 akm confidential 2010/04 - 1 - AK8859VN ntsc/pal/secam digital video decoder overview the AK8859VN is a single-chip digital video decoder fo r composite and s-video signals. its output data is in ycbcr format and compliant with itu-r bt.601 and it u-r bt.656 standard interface. its output also included hd / vd / field and dvalid signals. its oper ational temperature is between ranges of -40c ~ 105c. microprocessor access is via i 2 c interface. features ? decodes composite and s-video signals ntsc-j, m, 4.43 / pal-b, d, g, h, i, n, nc, m, 60 / secam ? 2 input channel ? 10-bit 27mhz adc 2 channel ? digital pga ? adaptive automatic gain control ( agc ) ? auto color control ( acc ) ? image adjustment ( contrast, saturati on, brightness, hue, sharpness ) ? automatic input signal detection ? adaptive 2-d y/c separation ? output data format: itu-r bt.601 ( ycbcr, 4:2:2, 8bit ) ? output interface: itu-r bt.656 (4:2:2, 8bit parallel) with eav/sav hd, vd, field and dvalid signal timing output ? closed caption signal dec oding (output via register) ? vbid (cgms-a) signal dec oding (output via register) ? wss signal decoding (output via register) ? macrovision signal detection (macrovision certification) ? powerdown function ? i 2 c control ? core supply voltage: 1.70 ~ 2.00v ? i/o power supply: 1.70 ~ 3.60v ? operating temperature: -40c ~ 105c ? 32-pin qfn package ( 5.0mm x 5.0mm ) (notice) this device is protected by u.s. patent number 6,600,873 and other intellectual property rights.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 2 - contents [1.] functional block diagram ..................................................................................................................... 5 [2.] pin assignment ............................................................................................................................... ....... 6 [3.] pin function description ....................................................................................................................... 7 [3.1.] pin function ............................................................................................................................... ...... 7 [3.2.] output pin state .............................................................................................................................. 8 [4.] electrical characteristics ...................................................................................................................... 9 [4.1.] absolute maximum ratings ........................................................................................................... 9 [4.2.] recommended operating conditions ........................................................................................... 9 [4.3.] dc characteristics .......................................................................................................................... 9 [4.4.] analog characteristics ................................................................................................................. 10 [4.4.1.] input range ............................................................................................................................. 10 [4.4.2.] adc ............................................................................................................................... .......... 10 [4.4.3.] current consumption ............................................................................................................ 10 [4.4.4.] crystal circuit block ................................................................................................................ 11 [5.] ac timing ............................................................................................................................... .............. 12 [5.1.] external clock input ..................................................................................................................... 12 [5.2.] clock output (dtclk) .................................................................................................................. 12 [5.3.] output data timing ........................................................................................................................ 13 [5.4.] power down sequence ................................................................................................................. 13 [5.5.] power-on sequence ...................................................................................................................... 14 [5.6.] i 2 c bus input timing ...................................................................................................................... 15 [5.6.1.] timing 1 ............................................................................................................................... ... 15 [5.6.2.] timing 2 ............................................................................................................................... ... 15 [6.] functional overview ............................................................................................................................ 16 [7.] functional description ....................................................................................................................... 17 [7.1.] analog interface ............................................................................................................................ 17 [7.2.] clock mode ............................................................................................................................... .... 17 [7.3.] analog clamp circuit .................................................................................................................... 17 [7.4.] input video signal categorization ............................................................................................... 19 [7.5.] auto detection mode of input signal .......................................................................................... 20 [7.6.] limiting auto detection candidates of input signal .................................................................. 21 [7.7.] vbi blanking interval data output ............................................................................................... 22 [7.8.] output data code min/max ........................................................................................................... 22 [7.9.] v-bit ............................................................................................................................... ................. 23 [7.10.] slice function .............................................................................................................................. 23 [7.11.] vbi period decode data .............................................................................................................. 24 [7.12.] output pin status ........................................................................................................................ 25 [7.13.] hd pin output .............................................................................................................................. 26 [7.14.] vd_f and var pin output selection ......................................................................................... 26 [7.15.] output pin polarity ..................................................................................................................... 27 [7.16.] phase correction ........................................................................................................................ 27 [7.17.] no signal output ......................................................................................................................... 28 [7.18.] active video data start position ................................................................................................ 28 [7.19.] vlock mechanism .................................................................................................................... 29 [7.20.] y/c separation ............................................................................................................................. 29 [7.21.] eav/sav code ............................................................................................................................. 29 [7.22.] output interface .......................................................................................................................... 30 [7.22.1.] 656 interface ......................................................................................................................... 30
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 3 - [7.22.2] output timing signal diagram .............................................................................................. 31 [7.23] digital pixel interpolator ............................................................................................................. 32 [7.24] clock generation ......................................................................................................................... 33 [7.24.1.] line-locked clock mode ...................................................................................................... 33 [7.24.2.] frame-locked clock mode ................................................................................................... 33 [7.24.3.] fixed-clock mode ................................................................................................................. 33 [7.24.4.] auto transition mode ........................................................................................................... 33 [7.25.] pga (programmable gain amp) ............................................................................................... 33 [7.26.] agc (auto gain control) ........................................................................................................... 34 [7.27.] acc (auto color control) .......................................................................................................... 35 [7.28.] sharpness adjustment ............................................................................................................... 35 [7.29.] color killer ............................................................................................................................... ... 35 [7.30.] image quality adjustment .......................................................................................................... 36 [7.30.1.] contrast adjustment ............................................................................................................ 36 [7.30.2.] brightness adjustment ........................................................................................................ 36 [7.30.3.] color saturation adjustment ............................................................................................... 37 [7.30.4.] hue adjustment ................................................................................................................... 37 [7.31.] vbi information decoding .......................................................................................................... 38 [7.32.] internal status indicator ............................................................................................................. 39 [7.32.1.] input signal indicator ........................................................................................................... 39 [7.32.2.] status of vlock mechanism ............................................................................................. 39 [7.32.3.] interlace signal indicator ..................................................................................................... 39 [7.32.4.] color killer operational ........................................................................................................ 39 [7.32.5.] clock mode ........................................................................................................................... 39 [7.32.6.] luminance decode overflow .............................................................................................. 39 [7.32.7.] color decode overflow ........................................................................................................ 40 [7.32.8.] agc status ............................................................................................................................ 40 [7.33.] macrovision signal detection .................................................................................................... 40 [7.34.] auto detection result of input video signal ............................................................................. 41 [8.] device control interface ..................................................................................................................... 42 [8.1.] i 2 c bus slave address ............................................................................................................... 42 [8.2.] i 2 c control sequence .................................................................................................................... 42 [8.2.1.] write sequence ...................................................................................................................... 42 [8.2.2.] read sequence ....................................................................................................................... 42 [8.2.3.] i 2 c general call ...................................................................................................................... 42 [9.] register definitions ............................................................................................................................. 44 [9.1.] register setting overview ............................................................................................................ 46 [9.1.1.] sub address 0x00 ?input channel select register (r/w)? ................................................ 46 [9.1.2.] sub address 0x01 ?c lamp control register (r/w)? .......................................................... 47 [9.1.3.] sub address 0x02 ?input video standard register (r/w)? ............................................... 48 [9.1.4.] sub address 0x03 ?ndmode register (r/w)? ................................................................... 49 [9.1.5.] sub address 0x04 ?output format register (r/w)? .......................................................... 50 [9.1.6.] sub address 0x05 ?output pin control register (r/w)? ................................................... 52 [9.1.7.] sub address 0x06 ?output pin polarity set register (r/w)? ............................................ 53 [9.1.8.] sub address 0x07 ?control 0 register (r/w)? ................................................................... 54 [9.1.9.] sub address 0x08 ?control 1 register (r/w)? ................................................................... 55 [9.1.10.] sub address 0x09 ?reserved register (r/w)? ................................................................. 55 [9.1.11.] sub address 0x0a ?pga1 control register (r/w)? ......................................................... 56 [9.1.12.] sub address 0x0b ?pga2 control register (r/w)? ......................................................... 56 [9.1.13.] sub address 0x0c ?agc and color control register (r/w)? ......................................... 57 [9.1.14.] sub address 0x0d ?contrast control register (r/w)? .................................................... 58
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 4 - [9.1.15.] sub address 0x0e ?brightness control register (r/w)? ................................................ 59 [9.1.16.] sub address 0x0f ?saturation control register (r/w)? ................................................. 60 [9.1.17.] sub address 0x10 ?h ue control register (r/w)? ............................................................ 60 [9.1.18.] sub address 0x11 ?high slice data set register (r/w)? ................................................. 61 [9.1.19.] sub address 0x12 ?low slice data set register (r/w)? ................................................. 61 [9.1.20.] sub address 0x13 ?request vbi information register (r/w)? ....................................... 62 [9.1.21.] sub address 0x14 ?reserved register (r/w)? ................................................................. 62 [9.1.22.] sub address 0x15 ?status 1 register (r only)? ............................................................... 63 [9.1.23.] sub address 0x16 ?status 2 register (r only)? ............................................................... 64 [9.1.24.] sub address 0x17 ?macrovision status register (r only)? ............................................ 65 [9.1.25.] sub address 0x18 ?input video status register (r only)? ............................................. 66 [9.1.26.] sub address 0x19 ?closed caption 1 register (r only)? ............................................... 67 [9.1.27.] sub address 0x1a ?closed caption 2 register (r only)? ............................................... 67 [9.1.28.] sub address 0x1b ?wss 1 register (r only)? ................................................................. 67 [9.1.29.] sub address 0x1c ?wss 2 register (r only)? ................................................................. 67 [9.1.30.] sub address 0x1d ?extended data 1 register (r only)? ................................................ 67 [9.1.31.] sub address 0x1e ?extended data 2 register (r only)? ................................................ 67 [9.1.32.] sub address 0x1f ?vbid 1 register (r only)? ................................................................. 67 [9.1.33.] sub address 0x20 ?vbid 2 register (r only)? ................................................................. 67 [9.1.34.] sub address 0x21 ?device and revision id register (r only)? ..................................... 68 [11.] package ............................................................................................................................... ............... 70 [12.] marking ............................................................................................................................... ................ 71
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 5 - [1.] functional block diagram test logic microprocessor interface clamp vref avss avdd dvdd dvss pvdd dvss vcom clamp deci- mation filter sync separation luminance process chroma process output buffer vbi decoding clock module timing controller digital pll 10-bit adc ain2 ain1 hd vd_f var dtclk data[7:0] test sela pdn sda scl xti xto avdd mux pga2 pga1 yc separation y cb cr y c cvbs y vrp vrn iref dvss 10-bit adc
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 6 - [2.] pin assignment 1 2 3 4 6 8 7 5 16 9 14 13 12 11 10 15 19 18 17 22 21 20 24 23 29 31 32 30 25 27 28 26 test sela pdn avss avdd ain1 vrp vrn scl sda dtclk data7 data6 data5 dvss pvdd data4 data3 data2 data1 data0 var vd_f hd iref vcom ain2 dvss xti xto dvdd dvss
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 7 - [3.] pin function description [3.1.] pin function pin no. symbol p/s i/o functional description 1 scl p i i 2 c clock input pin. connect to pvdd via a pull-up register. hi-z input possible when pdn=l. 2 sda p i/o i 2 c data pin. connect to pvdd via a pull-up register. hi-z input possible when pdn=l. 3 dtclk p o data clock output pin. the output clock is approximately 27mhz. 4 data7 p o (i/o) data output pin (msb). 5 data6 p o (i/o) data output pin. 6 data5 p o (i/o) data output pin. 7 dvss d g digital ground pin. 8 pvdd p p i/f power supply pin. 9 data4 p o (i/o) data output pin. 10 data3 p o (i/o) data output pin. 11 data2 p o (i/o) data output pin. 12 data1 p o (i/o) data output pin. 13 data0 p o (i/o) data output pin (lsb). 14 var p o (i/o) dvalid / field / nsig / line signal output pin. dvalid/field/nsig/line signal output can be selected by register setting. 15 vd_f p o (i/o) vd / field signal output pin. vd/ field signal output can be selected by register setting. 16 hd p o (i/o) hd signal output pin. 17 dvss d g digital ground pin. 18 dvdd d p digital power supply pin. 19 xto d o crystal connection pin. use 24.576 mhz crystal. when pdn=l, output level is dvss. if crystal is not used, connect to nc or dvss. 20 xti d i crystal connection pin. use 24.576 mhz crystal resonator. for input from 24.576 mhz crystal oscillator, use this pin. [power supply]: a-avdd, d-dvdd, p-pvdd [i/o]: i?input pin, o?output pin, i/o?in ou t pin, p?power supply pin, g?ground pin see section [3.2.](output pin state) for relationship between pdn-pin and each register.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 8 - pin no. symbol p/s i/o functional description 21 dvss d g digital ground pin. 22 ain2 a i analog video signal input pin. connect via 0.033 f capacitor and voltage-splitting resistors. if not used, connect to nc. 23 vcom a o common internal voltage for ad converter. connect to avss via 0.1 f (+/  5% accuracy) ceramic capacitor. 24 iref a o analog circuit reference current setting pin. connect to avss via 6.8k ? (+/  1% accuracy) resistor. 25 vrn a o internal reference negative voltage pin for ad converter. connect to avss via 0.1 f (+/  1% accuracy) ceramic capacitor. 26 vrp a o internal reference positive voltage pin for ad converter. connect to avss via 0.1 f (+/  1% accuracy) ceramic capacitor. 27 ain1 a i analog video signal input pin. connect via 0.033 f capacitor and voltage-splitting resistors. if not used, connect to nc. 28 avdd a p analog power supply pin. 29 avss a g analog ground pin. 30 pdn p i power-down control pin. hi-z input is prohibited. low: power-down. high: normal operation. 31 sela p i i 2 c bus address selector pin. 32 test p i pin for test mode setting. connect to dvss. [power supply]: a-avdd, d-dvdd, p-pvdd [i/o]: i?input pin, o?output pin, i/o?in ou t pin, p?power supply pin, g?ground pin see section [3.2.](output pin state) for relationship between pdn-pin and each register. [3.2.] output pin state register setting digital output pins state pdn -pin oen -bit dl -bit vd_fl -bit var -bit hl -bit data[7:0] vd_f var hd dtclk l x x x x x low h h x x x x hi-z h l l l l l dout dout dout dout dout h l h h h h low low low low dout
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 9 - [4.] electrical characteristics [4.1.] absolute maximum ratings parameter min. max. unit notes supply voltage avdd, dvdd pvdd -0.3 -0.3 2.2 4.2 v analog input pin voltage -0.3 avdd+0.3( Q 2.2) v digital input pin voltage d -0.3 dvdd+0.3( Q 2.2) v xti,xto pin digital output pin voltage p -0.3 pvdd+0.3( Q 4.2) v (*1) input pin current (iin) -10 10 ma power supply pin is not included. storage temperature -40 125 c (*1) collective term for dtclk, data[7:0], hd, vd_f, var, sela, pdn, sda, scl, test pins. ? the above supply voltages are re ferenced to ground pins (dvss=a vss) at 0v (reference voltage). ? all power supply gro unds (avss, dvss) should be at the same electric potential. ? if digital output pins are connected to data bus, the data bus operating voltage should be in the same range as shown above from the digital output pin. ? the setting other than above may cause t he eternal destruction to the device. ? normal operational is not guaranteed for the above setting. [4.2.] recommended operating conditions parameter min. typ. max. unit condition analog supply voltage (avdd) digital supply voltage (dvdd) 1.70 1.80 2.00 v avdd=dvdd i/f supply voltage (pvdd) 1.70 1.80 3.60 v pvdd R dvdd operating temperature (ta) -40 105 c ? the above supply voltages are re ferenced to ground pins (dvss=a vss) at 0v (reference voltage). ? all power supply gro unds (avss, dvss) should be at the same electric potential. [4.3.] dc characteristics (ta: -40c~105c / dvdd=av dd=1.7v~2.0v / pvdd=dvdd~3.6v) parameter symbol min. typ. max. unit condition digital input high voltage (*1) vih 0.7pvdd v digital input low voltage (*1) vil 0.3pvdd v digital input leak current (*1) il 10 ua digital output high voltage (*2) voh 0.8pvdd v ioh = -600ua digital output low voltage (*2) vol 0.2pvdd v iol = 1ma digital output hi-z leak current (*2) hil 10 ua i 2 c (sda)l output volc 0.4 0.2pvdd v iolc = 3ma pvdd R 2.0v pvdd 2.0v xti input high voltage vxih 0.8dvdd v xti input low voltage vxil 0.2dvdd v (*1) collective term for sela, pdn, sda, scl, test pins. (*2) collective term for dtclk, data[7:0], hd, vd_f, var pins.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 10 - [4.4.] analog characteristics (avdd=1.8v, ta=25 ? c) [4.4.1.] input range parameter symbol min. typ. max. unit condition input range vimx 0 0.50 0.60 vpp [4.4.2.] adc parameter symbol min. typ. max. unit condition resolution res 10 bit operating clock frequency fs 27 mhz integral nonlinearity inl 1.0 2.0 lsb differential nonlinearity dnl 0.5 1.0 lsb s/n sn 53 db fin=1mhz*, fs=27mhz, input range=0.6vpp s/(n+d) snd 51 db fin=1mhz*, fs=27mhz, input range=0.6vpp adc internal common voltage vcom 0.96 v adc internal positive vref vrp 1.36 v adc internal negative vref vrn 0.56 v [4.4.3.] current consumption (avdd = dvdd = pvdd = 1.8v, ta = -40 ~ 105 ? c) parameter symbol min. typ. max. unit condition active mode total idd 45 62 ma s(y/c) video signal input 27 ma s(y/c) video signal input 19 ma composite video signal input* analog block aidd 10 ma no-signal input* digital block didd 13 ma i/f block pidd 5 ma s(y/c) video signal input with crystal (xtal) connected. load condition: cl=15pf power down mode total sidd Q 1 200 ua analog block asidd Q 1 ua digital block dsidd Q 1 ua i/f block psidd Q 1 ua *reference value.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 11 - [4.4.4.] crystal circuit block parameter symbol min. typ. max. unit notes frequency f0 24.576 mhz frequency tolerance f / f 100 ppm load capacitance cl 15 pf effective equivalent resistance re 100 (*1) crystal parallel capacitance co 0.9 pf xti terminal external connection load capacitance cxi 22 pf if cl=15pf xto terminal external connection load capacitance cxo 22 pf if cl=15pf (*1) effective equivalent resistance genera lly may be taken as re = r1 x (1+co/cl) 2 , where r1 is the crystal series equivalent resistance. example connection xti pin xto pin rf rd ( * 2 ) cxi = 22pf cxo = 22pf AK8859VN internal circuit external circuit (*2) determine need for and appropriate value of limiting resistance (rd) in accordance with the crystal specifications.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 12 - [5.] ac timing (1.70 Q dvdd Q 2.00, dvdd Q pvdd Q 3.60, load condition: cl=15pf) [5.1.] external clock input fclk tclkl tclkh 0.8dvdd 0.5dvdd 0.2dvdd parameter symbol min. typ. max. unit input clk fclk 24.576 mhz clk pulse width h tclkh 16 nsec clk pulse width l tclkl 16 nsec frequency tolerance 100 ppm [5.2.] clock output (dtclk) fdtclk 0.5pvdd parameter symbol min. typ. max. unit dtclk fdtclk 27 mhz
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 13 - [5.3.] output data timing tds 0.5pvdd tdh dtclk (*1) output data (*2) 0.5pvdd parameter symbol min. typ. max. unit output data setup time tds 10 nsec output data hold time tdh 10 nsec (*1) it is possible to invert the polarity of dtclk via register setting. (*2) output data is general term of data[7:0], hd, vd_f, and var. [5.4.] power down sequence apdn svref vil vil npdn vih pdn parameter symbol min. typ. max. unit power down pulse removal period npdn 50 nsec power down pulse width apdn 500 nsec vref stabilization period svref 10 msec at power down, dtclk pin, data[7:0] pin, hd pin, vd_f pin and var pin is low output. after power down released, data[7:0] pin, hd pin, vd_f pin and var pin is stay low output if no register setting apply. register setting only apply after vref stabilization period.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 14 - [5.5.] power-on sequence rpdn svref vil vih pdn pwuptime avdd/dvdd/pvdd parameter symbol min. typ. max. unit powerup time pwuptime 100 msec power down release rpdn 500 nsec vref stabilization period svref 10 msec at power-on, pdn must be set to ground level (pdn=low). avdd/dvdd/pvdd should be raised at power-on less than 100msec. after power down released, data[7:0] pin, hd pin, vd_f pin and var pin is stay low output if no register setting apply. register setting only apply after vref stabilization period.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 15 - [5.6.] i 2 c bus input timing [5.6.1.] timing 1 tbuf thd : sta tr tf tsu : sto vih vil sda tf tr tsu : sta tlow vih vil scl parameter symbol min. typ. unit bus free time tbuf 1.3 usec hold time (start condition) thd:sta 0.6 usec clock pulse low time tlow 1.3 usec input signal rise time tr 300 nsec input signal fall time tf 300 nsec setup time(start condition) tsu:sta 0.6 usec setup time(stop condition) tsu:sto 0.6 usec note : the timing relating to the i 2 c bus is as stipulated by the i 2 c bus specification, and not determined by the device itself. for details, see i 2 c bus specification. [5.6.2.] timing 2 vih vil sda vih vil scl thigh thd : dat tsu : dat parameter symbol min. max. unit data setup time tsu:dat 100 (*1) nsec data hold time thd:dat 0.0 0.9 (*2) usec clock pulse high time thigh 0.6 usec (*1) if i 2 c is used in standard mode, tsu: dat 250ns is required. (*2) this condition must be met if the AK8859VN is used with a bus that does not extend tlow (to use tlow at minimum specification).
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 16 - [6.] functional overview it accepts composite video signal (cvbs) and s-video wi th 2 input pins available for this purpose. the decode signal is selected via register setting. it can decode the following input video signal via register setting: x ntsc-m, j / ntsc-4.43 / pal-b,d,g,h ,i,n / pal-nc / pal-m / pal-60 / secam x in addition, it has auto detection mode via regist er setting which automatical ly recognizes the input signal category. it output interface is itu-r bt.656 compliant. (it may not be possible, however to meet these re quirement if the input signal quality is poor.) for connection of devices having no itu-r bt.656 in terface, it shows the active video region by dvalid signal output. its analog circuit of the AK8859VN clamps the input signal to the sync tip. its digital circuit clamps the digitized input data to the pedestal level. its vbi data slicing function enables output of the s licing results as itu-r bt.601 format digital data. it has digital pga built internally and can be adjusted in the range of  4.06db 6.90db by register setting. its adaptive agc function enables measurement of th e input signal size and determination of the input signal level. it performs adaptive two-dimensional y/c separation, in which its phase detector selects the best correlation from among vertical, horizontal, and diagonal samples and optimum y/c separation mode. its digital pixel spacing adjustor can align vert ical positions by vertical pixel positioning. its operates in line-locked, frame-locked, or fix ed clock mode with automatic transition and optimum mode selection by automatic scanning. its acc function enables measurement of the input signal color burst size and determination of the appropriate color burst level. it judges the chroma signal quality from the color burst of the input signal, and can apply color kill if the signal quality is judged insu fficient. it can also apply color kill if the color decode pl l clock control. its image quality adjustment function includes c ontrast, brightness, hue and color saturation adjustment. it can decode conflated closed caption data, cl osed caption extended data, wss, vbid(cgms-a) and write them separately to the storage register. its monitoring register enables monitoring of a number of internal functions. its enables macrovision signal type not ification, in cases where the ma crovision signal is included in the decoded data.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 17 - [7.] functional description [7.1.] analog interface the AK8859VN accepts composite (cvbs) and s-video (y/c) signals, with 2 input pins available for this purpose. the decode signal is selected via the register. input signal selection sub address: 0x00 [1:0] name definition notes ainsel0 ~ ainsel1 [ainsel1 : ainsel0] [00]: ain1 (cvbs) [01]: ain2 (cvbs) [10]: ain1(y) / ain2(c) (s-video) [11]: no-signal input (analog circuit is set to power-down*) *clamp and adc block is power-downed. in used with ainsel[1:0]=[11], ouput data is depend on nsigmd[1:0]?bit. however, in used with nsigmd[1:0]=[10], data[7:0]-pin, hd -pin, vd_f-pin and var-pin output low. [7.2.] clock mode the AK8859VN input clock can be selected between inte rnal built crystal and external clock input via register setting. the input clock frequency is 24.576mhz. clock mode setting sub address: 0x00 [7] name definition notes clkmd [0]: for crystal [1]: external clock input (clock generator) [7.3.] analog clamp circuit the analog circuit of AK8859VN clamps the input signal to the reference level. the way to clamp the input signal is show as follows. when decode composite (cvbs) video signal clamp timing is performs by sync tip clamp (analog sync tip clamp). the clamp timing pulse, with its origin at the falli ng edge of the internally synchronized and separated sync signal, is generated at approximately the central position of the sync signal. when decode s-video (y/c) signal (y signal): clamp timing is performs by sync tip clamp (analog sync tip clamp). the clamp timing pulse, with its origin at t he falling edge of the internally synchronized and separated sync signal, is generated at approxim ately the central position of the sync signal. (c signal): clamp timing is performs by middle clamp (analog middle clamp). the clamp timing pulse is generated exactly at the same timing of y signal clamp pulse.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 18 - clamp timing pulse analog middle clamp analog sync tip clamp y c analog sync tip clamp cvbs furthermore, the AK8859VN can change the position, width, and current value of clamp pulse via register. set the current value of clamp in analog block sub address: 0x01 [1:0] name definition notes clpg0 ~ clpg1 [00]: min. [01]: middle 1 {=(min. x 3)} [10]: middle 2 {=(min. x 5)} [11]: max. {=(min. x 7)} default setting is [00] set the clamp pulse width sub address: 0x01 [4] name definition notes clpwidth [0]: 275nsec [1]: 555nsec default setting is [0]
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 19 - [7.4.] input video signal categorization the AK8859VN video input signal categorization can be selected via register. the AK8859VN can decode the following video signal: ntsc-m, j ntsc-4.43 pal-b, d, g, h, i, n pal-nc pal-m pal-60 secam input video signal categorization register setting is show as follows. subcarrier frequency setting sub address: 0x02 [1:0] name definition notes vscf0 ~ vscf1 [ vscf1 : vscf0 ] ( mhz ) [00]: 3.57954545 (ntsc-m,j) [01]: 3.57561149 (pal-m) [10]: 3.58205625 (pal-nc) [11]: 4.43361875(pal-b,d,g,h,i,n,60, ntsc-4.43, secam) color encode format setting sub address: 0x02 [3:2] name definition notes vcen0 ~ vcen1 [vcen1 : vcen0] [00]: ntsc [01]: pal [10]: secam [11]: reserved line frequency setting sub address: 0x02 [4] name definition notes vlf [0]: 525-line (ntsc-m,j, ntsc-4.43, pal-m,60) [1]: 625-line (pal-b,d,g,h,i,n, pal-nc, secam) monochrome mode setting sub address: 0x02 [5] name definition notes bw [0]: not monochrome (monochrome mode off) [1]: decode as monochrome si gnal (monochrome mode on) when composite video signal decode is selected, in the monochrome mode (bw=1), the input signal is treated as a monochrome signal, and all sampling data digitized the ad converter passes through the luminance process and is processed as luminance si gnal, and the cbcr code is output as 0x80 (601 level data) regardless of the input. when s-video (y/c) sign al decode is selected, only luminance signal is decode as an output.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 20 - setup processing setting sub address: 0x02 [6] name definition notes setup [0]: setup absent setting [1]: setup present setting with the setup present setting, the luminanc e and color signals are processed as follows: yout = (yin-7.5)/0.925 uout = uin/0.925, vout = vin/0.925 [7.5.] auto detection mode of input signal the video input signal of the AK8859VN can be automatic ally detected (auto detection mode) via register. settings for auto detection mode of input signal sub address: 0x02 [7] name definition notes autodet [0]: off (manual setting) [1]: on in auto detection mode, the AK8859VN can detect the following parameters. number of lines per frame: 525 (line) 625 (line) subcarrier frequency: 3.57954545 (mhz) 3.57561149 (mhz) 3.58205625 (mhz) 4.43361875 (mhz) color encoding formats: ntsc pal secam monochrome signal*: not monochrome monochrome (*note: automatic monochrome detection is active if the color kill setting is on.) the detected result of auto detection mode is reflected to input video status register. this enables the host to distinguish among the format s ntsc-m,j / ntsc-4.43 / pal-b,d,g,h,i,n / pal-m / pal-nc / pal-60 / secam and monochrome. it should be noted that it does not detect ntsc -m, ntsc-j or pal-b,d,g,h,i,n formats. sub address: 0x18 ?input video status register? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 fixed undef st_b/w st_vlf st_vce n1 st_vcen0 st_vscf1 st_vscf0
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 21 - [7.6.] limiting auto detection candidates of input signal in auto detection mode, the candidates fo r detection can be limited via register. sub address: 0x03 ?ndmode register? name definition notes ndpalm [0]: pal-m candidate [1]: pal-m non-candidate ndpalnc [0]: pal-nc candidate [1]: pal-nc non-candidate ndsecam [0]: secam candidate [1]: secam non-candidate reserved reserved ndntsc443 [0]: ntsc-4.43 candidate [1]: ntsc-4.43 non-candidate ndpal60 [0]: pal-60 candidate [1]: pal-60 non-candidate nd525l [0]: 525line candidate [1]: 525line non-candidate nd625l [0]: 625line candidate [1]: 625line non-candidate in making the above register settings, the following restrictions apply. 1. setting both ndntsc443-bit and ndpal60-bit to 1 is prohibited. 2. setting both nd525l-bit and nd625l-bit to 1 is prohibited. 3. to limit candidate formats, it is necessary to have the auto detection mode off while first setting the register to non-limited signal status and next the ndmode settings, and then setting the auto detection mode to on. set auto detection mode to off set input video standard register to non-limited signal status enter ndmode register setting set auto detection mode to on
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 22 - [7.7.] vbi blanking interval data output in the AK8859VN, the settings for the output code and ve rtical blanking intervals for the output signal are as follows. setting vertical blanking intervals (vblank) sub address: 0x04 [2:0] name setting value 525/625 vertical blanking interval notes 525 line1~line20 line263.5~line283.5 [001] 625 line623.5~line24.5 line311~line336 +1line 525 line1~line21 line263.5~line284.5 [010] 625 line623.5~line25.5 line311~line337 +2lines 525 line1~line22 line263.5~line285.5 [011] 625 line623.5~line26.5 line311~line338 +3lines 525 line1~line19 line263.5~line282.5 [000] 625 line623.5~line23.5 line311~line335 default 525 line1~line16 line263.5~line279.5 [101] 625 line623.5~line20.5 line311~line332 -3lines 525 line1~line17 line263.5~line280.5 [110] 625 line623.5~line21.5 line311~line333 -2lines 525 line1~line18 line263.5~line281.5 [111] 625 line623.5~line22.5 line311~line334 -1line vbil0 ~ vbil2 [100] reserved reserved as indicated in this table, the default values are: (525i) line1~line19 and line263.5~line282.5 (625i) line623.5~line23.5 and line311~line335 the other specific values are set by enteri ng the difference from these default values. [7.8.] output data code min/max the AK8859VN data code output format (y:cb:cr =4:2:2) is compliant with itu-r bt.601. all internal calculating operations are made with min = 1, max = 254. with limit601-bit set to [1], codes 1~15 and 23 6~254 are respectively clipped to 16, 235. setting for output data code min/max sub address: 0x04 [3] name setting value output data code min.~max. notes [0] y: 1~254 cb, cr: 1~254 default limit601 [1] y: 16~235 cb, cr: 16~240 in case of limit601=[0] and eavsavn-b it=[1]*, the output code min/max is 0 255. *sub address: 0x08 [2]
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 23 - [7.9.] v-bit in the AK8859VN, the settings for v-bit handling in itu-r bt.656 format are as follows. setting for v-bit handling in itu-r bt.656 format sub address: 0x04 [4] 525-line 625-line name setting value v-bit=0 v-bit=1 v-bit=0 v-bit=1 [0] bt. 656-3 line10~line263 line273~line525 line1~line9 line264~line272 trsvsel [1] bt. 656-4 and smpte125m line20~line263 line283~line525 line1~line19 line264~line282 line23~line310 line336~line623 line1~line22 line311~line335 line624~line625 these values are unaffected by the vbil[2:0]-bit setting. [7.10.] slice function the results of vbi slicing by the AK8859VN slicing function are output as itu-r bt.601 digital data. the vbi interval is set via vbil[2:0]- bits. vbi slicing is performed in the luminance in the luminance signal processing path, so that the cb/cr value of the effectiv e line 601 output code is output at the same level as the corresponding luminance signal. setting for slice level sub address: 0x04 [5] name definition sllvl [0]: 25ire [1]: 50ire hi/low slice data set register of output data, as follows. setting for higher of two values resulting from slicing sub address: 0x11 name definition h0 ~ h7 default: 0xeb(235) note that a setting of 0x00 or 0xff corresponds to a special 601 code. setting for lower of two values resulting from slicing sub address: 0x12 name definition l0 ~ l7 default: 0x10(16) note that a setting of 0x00 or 0xff corresponds to a special 601 code.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 24 - * (mv) ntsc/pal 601 code 714/700 235 357/350 180/175 *threshold values (mv) are approximate 127 63 100% white 50ire threshold with setting sllvl=[1] 25ire threshold with setting sllvl=[0] ```` l l l ```` l l h h h h cb/y cr/y `````` cb/y `````` cr/y l: h: value set by high slice data set register value set by low slice data set register ````` ``````` high/low conversion is performed for either the cb/y or the cr/y combination. the above figure is an example of the conversion points for cb/y. [7.11.] vbi period decode data the AK8859VN decode data during vbi period can be selected via register. settings for decode data in the vbi period sub address: 0x04 [7:6] name setting value decode data notes [00] black level output y = 0x10 cb/cr = 0x80 [01] monochrome mode y = data converted to 601 level cb/cr = 0x80 [10] sliced data output y/cb/cr = value corresponding to slice level (value set at hi/low slice data set register) vbidec0 ~ vbidec1 [11] reserved reserved note: (525i) lne1 line9 and line263.5 line272.5 (625i) line623.5 line6.5 and line311 line388 during the above period, these values are unaffected by the vbidec[1:0]-bits setting. the output code during this period is bla ck level code (y=0x10, cb/cr=0x80).
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 25 - [7.12.] output pin status the AK8859VN output from the data[7:0]-pin, vd_f-pin, var-pin and hd-pin can each be fixed at low via register. setting each digital output pins fixed to low output sub address: 0x05 [3:0] name definition notes dl [0]: normal output [1]: [d7: d0] pin output fixed at low. default: low output vd_fl [0]: normal output [1]: vd_f pin output fixed at low. default: low output varl [0]: normal output [1]: var pin output fixed at low. default: low output hl [0]: normal output [1]: hd pin output fixed at low. default: low output in addition, the output from the dtclk, data[7:0], vd_f, var and hd pins can be set to hi-z output via register. setting digital output pins* to hi-z output sub address: 0x05 [4] name definition notes oen [0]: normal output [1]: hi-z output default: [0] normal output *collective term for dtclk, da ta[7:0], hd, vd_f and var pins. however, the pdn pin states will have priority regardless of these regist er setting. when pdn pin is low output, the output from the dtclk, data[7:0], vd_f, var and hd pins is low output. the relation between pdn pin and digital output pin status is show as follows: register setting digital output pins status pdn -pin oen-bit dl-bit vd_fl-bit var-bit hl-bit data[7:0] vd_f var hd dtclk l x x x x x low h h x x x x hi-z h l l l l l dout dout dout dout dout h l h h h h low low low low dout *dout is normal output.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 26 - [7.13.] hd pin output the horizontal sync signal of the AK8859VN is output from hd pin. pin name 525-line 625-line hd low for 4.7us at 15.734 khz interval. low for 4.7us at 15.625 khz interval. [7.14.] vd_f and var pin output selection the output signal from vd_f and var pins is show as follows by register setting. pin name output signal notes 525-line 625-line vd line4~line6 and line266.5~line269.5: low line1~line3.5 and line313.5~line315: low vd_f field odd-field: low, even-field: high dvalid active video data period. active-low field odd-field: low, even-field: high nsig sync status of video input signal low: signal present (synchronized) high: signal absent (not synchronized) var line in auto detection mode, it shows the re sult of line number detected in input video signal. 525line: low, 625line: high if the auto detection mode is off, the setting of current vlf-bit* is output through this pin. (*sub-address:0x02-?bit4?) the output signal of vd_f and var pins is show as follows. settings for vd/field signals selection sub address: 0x05 [5] name definition notes vd_fsel [0]: vd signal output [1]: field signal output settings for var pin output signals selection sub address: 0x05 [7:6] name definition notes varsel0 ~ varsel1 [ varsel1 : varsel0 ] [00]: dvalid signal output [01]: field signal output [10]: nsig signal output [11]: line signal output
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 27 - [7.15.] output pin polarity the output signals from each digital output pin can be inverted via register. setting for output pin polarity sub address: 0x06 [7:5] setting value name pin name output signal [0] [1] hdp hd hd active low active high vd active low active high vd_fp vd_f field low: odd-field high: even-field low: even-field high: odd-field dvalid active low active high field low: odd-field high: even-field low: even-field high: odd-field nsig high: signal absent low: signal absent varp var line low: 525line high: 625line low: 625line high: 525line in addition, it is possible to invert the output signal from the dtclk pin. setting for polarity of dtclk signal output sub address: 0x06 [4] name definition clkinv [0]: normal output (write in data at rising edge) [1]: phase of data and clock is invert (write in data at falling edge) [7.16.] phase correction in pal-b, d, g, h, i, n, nc, 60, and m decoding, the AK8859VN performs phase correction for each line. with this function on, color averaging is performed for each line. in the adaptive phase correction mode, interline phase correlation is sampled and color averaging is performed for correlated samples. interline color averaging is also performed in ntsc-m and j decoding. no phase correction or color averagi ng is performed in secam decoding. settings for phase correction sub address: 0x07 [1:0] name definition dpal0 ~ dpal1 [ dpal1 : dpal0 ] [00]: adaptive phase correction mode [01]: phase correction on [10]: phase correction off [11]: reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 28 - [7.17.] no signal output if no input signal is found (as shown by control bit nosi g-bit), the output signal is black-level, blue-level (blueback), or input-state (sandstorm), depending on the register setting. (*sub-address:0x15-?bit0?) settings for output signals for no input signal sub address: 0x07 [3:2] name definition nsigmd0 ~ nsigmd1 [ nsigmd1 : nsigmd0 ] [00]: black-level output [01]: blue-level (blueback) output [10]: input-state (sandstorm) output [11]: reserved in case of s-video (y/c) signal input, no signal output is only on y signal. it should be noted that there is no signal output detect on c signal. [7.18.] active video data start position the start position of active video data of the ak 8859vn can be advance/delay via register. 1 sample advance/delay of data rate is 13.5mhz. setting for start position of active video data sub address: 0x07 [6:4] name definition actsta0 ~ actsta2 [ actsta2 : actsta0 ] [001]: 1sample delay [010]: 2sample delay [011]: 3sample delay [000]: normal start position [101]: 3sample advance [110]: 2sample advance [111]: 1sample advance [100]: reserved the default position of start position is show n below (itu-r bt.601 standard interface). 122sample(525line) active video start o h 132sample(625line) active video start o h
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 29 - [7.19.] vlock mechanism the AK8859VN synchronizes in ternal operation with the input signal frame structure. if, for example, the frame structure of the input signal comprises 524 lines , the internal operation will have structure of 524 lines per frame. this mechanism is termed the vlock mechanism. if an input signal changes from a structure of 525 lines per frame to one of 524 lines per frame, internal operation will change accordingly, and the vlock mechanism will go to unlock via a pull-in process. in such case, the unlock status can be confirmed via the control register [vlock-bit*]. note that the time required for locking of the vlock mechanism upon channel or other input signal switchi ng will be about 4 frames (*sub-address:0x15-?bit1?) furthermore, the AK8859VN synchroniz es internal operation with the ve rtical sync of the input signal. this mechanism is termed the direct lock mechanism. setting for vertical sync mechanism sub address: 0x07 [7] name definition verts vertical sync mechanism [0]: vlock mechanism [1]: direct lock mechanism [7.20.] y/c separation the adaptive two-dimensional y/c separation of the ak 8859vn utilizes a co-relation detector to select the best-correlated direction from am ong vertical, horizontal, and diagonal samples, and selects the optimum y/c separation mode. for ntsc-4.43, pal-60, and secam inputs, the y/c se paration is one-dimensional only, regardless of the setting. setting for y/c separation sub address: 0x08 [1:0] name setting value yc separation mode notes [00] adaptive [01] 1-d 1-d (bpf) [10] 2-d (ntsc-m,j, pal-m): 3 line 2-d (pal-b,d,g,h,i,n,nc): 5 line 2-d ycsep0 ~ ycsep1 [11] reserved [7.21.] eav/sav code the eav/sav code of itu-r bt.656 standard interface c an be output with the output data data[7:0] by the register setting. setting for eav/sav code output sub address: 0x08 [2] name definition eavsavn [0]: eav/sav code is fed to the output data. [1]: eav/sav code is not output. in case of limit601=[0]*, if eavsavn is setting to [1], the output code range is limit to 0 255. *sub address: 0x04 [3]
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 30 - [7.22.] output interface [7.22.1.] 656 interface [7.22.1.1.] line-locked and frame-locked clock modes the AK8859VN data output in both of these modes are co mpliant with itu-r bt.656, which is requires the following samples and line numbers. - number of samples for 1 line: 858 samples (525i) / 864 samples (625i) - number of lines for 1 frame: 525 lines / 625 lines it may not be possible, however to meet these re quirement if the input signal quality is poor. in the event of output-stage buffer failure, li ne drop/repeat processi ng will be performed. a line drop or a line repeat will result in output sign al with 524/624 or 526/626 lines per frame respectively. line drop/repeat processing may be performed at any line in the frame. [7.22.1.2.] fixed-clock mode in fixed-clock mode, operation is at an internally generated 27 mhz clock, from a 24.576 mhz input clock. the output signal is therefore not synchronized with the input signal, and thus not itu-r bt.656 compliant. data is output in sav format. as shown in the followi ng figure, eav is guaranteed for 720 pixels from sav, but the number of pixels from eav to sav is not. sav eav 720 pixels 858 / 864 ( ntsc / pal ) pixels when the fixed-clock mode is performed, the active area of the output data is determined by sav standard.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 31 - [7.22.2] output timing signal diagram [7.22.2.1.] line-locked and frame-locked clock modes when the AK8859VN is connected to the system with no itu-r bt.656 interface, hd, vd, dvalid and field signals is output. the relations between hd, vd and field signals are shown as follow. 525-line input (for example, composite vi deo signal input timing is shown below) even odd 523 524 525 1 2 3 4 5 6 7 8 9 10 11 vd field hd cvbs even odd 264 265 266 267 268 269 270 271 263 262 272 273 274 261 field vd cvbs hd 625-line input (for example, composite vi deo signal input timing is shown below) hd vd field even odd cvbs 620 621 622 623 624 625 1 2 3 4 5 6 8 7 hd vd even odd field cvbs 311 312 313 314 315 316 317 318 310 309 319 321 308 320 the relations between hd signal, dvalid signal and eav/sav code are shown in the following timing diagram. data [7:0] dvalid hd dtclk cb0 y0 cr0 y1 cb1 y2 cr1 sav 00 00 ff eav 00 00 ff 128clk 244clk (264clk) 1440clk ff 32clk (24clk) *the numbers shown in the ( ) is refer to clock number of 625-line.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 32 - [7.22.2.2.] fixed-clock mode in fixed-clock mode, the internal clock is not synchr onized with the output sign al, but a space of 122/132 (ntsc/pal) pixels is guaranteed between the horizont al sync signal and the start of the active video interval. (for example, composite video signal i nput timing is shown below and 1pixel = 2clk) 244clk (264clk) 128clk 1440clk 32clk (24clk) hd dvalid video signal active video interval fixed not fixed cb0 cr0 y0 y1 cb1 y2 cr1 y3 y719 cr359 y718 ff sav [7.23] digital pixel interpolator the digital pixel interpolator of the AK8859VN aligns vertical pixel positions in both frame-lock and fixed-clock operating modes. the pixel interpolator can be set to on or off via register. with a register setting of auto, the pixel interpolator is off or on depending on the clock mode, as follows. line-locked clock mode off frame-locked clock mode on fixed-clock mode on settings for pixel interpolator operation sub address: 0x08 [5:4] name setting value interpolator operation notes [00] auto dependent on clock mode. [01] on [10] off intpol0 ~ intpol1 [11] reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 33 - [7.24] clock generation the AK8859VN operates in the following three clock modes: [7.24.1.] line-locked clock mode the ?line-locked clock? is generated by pll using horizont al sync signal within the input signal. if no input signal is present, the AK8859VN will switch from this mode to fixed-clock mode. [7.24.2.] frame-locked clock mode the ?frame-locked clock? is generated by pll using vertical sync signal wi thin the input signal. if no signal is present, the AK8859VN will switch from this mode to fixed-clock mode. [7.24.3.] fixed-clock mode no pll control is applied in this mode, which is enabled only when either it is set via the register or no input signal is present. the sampling clock in this mode is 27mhz or 54mhz. in this mode, data capture cannot be performed in eav (end of active video), and must be per formed in sav (start of active video) format. the number of pixels per line is not guarantee in this mode, but data guarantee is performed in the interval from sav to eav. [7.24.4.] auto transition mode the AK8859VN transition function automatically switches among the above modes and selects the optimum one, and when no input signal is pres ent, it switches to the fixed-clock mode. setting for selection of clock generation mode sub address: 0x08 [7:6] name setting value clock generation mode notes [00] automatic [01] line-locked [10] frame-locked clkmode0 ~ clkmode1 [11] fixed-clock [7.25.] pga (programmable gain amp) the AK8859VN digital pga is built internally. the digital pga value can be set in range ? 4.06db :* 6.90db. default gain setting is 0x3c (hex) =0.00db. pga gain equation: gain(db) ( ) ? ? ? ? ? ? + = 5 . 401 5 . 251 5 . 2 20 pga log * pga: pga1orpga2 register value (dec.) at the default setting, when the composite video signal input with 0.5vpp is input to the ain pin, the decode gain setting is set to appropriate range.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 34 - pga1 is used for cvbs and y signals gain processi ng. pga2 is used for c signal gain processing. setting for pga1 value sub address: 0x0a [7:0] name definition pga1_0 ~ pga1_7 pga1 gain setting. pga gain is set by above equation. setting for pga2 value sub address: 0x0b [7:0] name definition pga2_0 ~ pga2_7 pga2 gain setting. pga gain is set by above equation. this register also can be used to read the current setting of the agc setting. if agc is enable, pga1[7:0]-bit and pga2 [7:0]-bit setting value has no effect. if agc is disable, pga1[7:0]-bit and pga2[7:0]-bit se tting is effective and the gain setting can be manually entered. [7.26.] agc (auto gain control) the agc of the AK8859VN measures the size of the i nput signal (i.e. the difference between the sync tip and pedestal levels), and adjusts the pga value to bring the sync signal level to 286mv/300mv. the agc function in the AK8859VN is adaptive, and thus includes peak agc as well as sync agc. peak agc is effective for input signals in which the sync signal level is appropriate and only the active video signal is large. sync signal level of composite video signal and s (y/c) video signal input are shown as follows. ntsc-m,j, ntsc-4.43, pal-m??????????286mv pal-b,d,g,h,i,n, pal-nc, pal-60, secam????. 300mv setting for on/off of agc sub address: 0x0c [0] name definition agc [0]: agc off [1]: agc on setting for agc non-sensing range sub address: 0x0c [3:2] name definition agcc0 ~ agcc1 [ agcc1 : agcc0 ] [00]: 2lsb [01]: 3lsb [10]: 4lsb [11]: none
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 35 - [7.27.] acc (auto color control) the acc of the AK8859VN measures the level of the input signal color burst and adjusts to the appropriate level. the acc is not applicable to secam input signal. ntsc-m,j, ntsc-4.43, pal-m??????????286mv pal-b,d,g,h,i,n, pal-nc, pal-60????. ???? 300mv setting for on/off of acc sub address: 0x0c [5] name definition acc [0]: acc off [1]: acc on the acc and color saturation functions operate ind ependently. if acc is enabled, the color saturation adjustment is applied to the signal that has been adjusted to the appropriate level by the acc. [7.28.] sharpness adjustment sharpness adjustment is performed on the luminance signal. the filter characteristic is shown in the following diagram. a sharp image can be obtained by selection of the filter with the appropriate characteristics. filter delay y signal (before) y signal (after) sharp (on/off) gain [db] frequency [mhz] setting for sharpness adjustment sub address: 0x0c [4] name definition sharp [0]: no filtering [1]: filter [7.29.] color killer in cvbs or s-video input, the chroma signal quality of the input signal is determined by comparison of its color burst level against the threshold setting in the co lor killer control register. if the level is below the threshold, the color killer is activated, resulting in processing of the input as a monochrome signal and thus with cbcr data fixed at 0x80. setting for color killer (enable/disable) activation sub address: 0x0c [7] name definition ckilldis [0]: enable [1]: disable
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 36 - [7.30.] image quality adjustment image quality adjustments consist of contrast, brightness, color saturation, and hue adjustment. [7.30.1.] contrast adjustment setting for contrast adjustment inclination sub address: 0x0d [6:0] register definition cont0 ~ cont6 [contsel-bit =[0]*] yout = (cont / 64) x ( yin - 128) +128 [contsel-bit =[1]*] yout = (cont / 64) x yin yout: contrast obtained by the calculation yin: contrast before the calculation cont: contrast gain factor (register setting value) the gain factor can be set in the range {0~ (127 / 64)} in 1/64 step. default setting value is 0x40. as the register setting shown in the above table, cont rast adjustment inclination can be selected between 50% and 0%. setting for contrast adjustment inclination sub address: 0x0c [6] register definition contsel [0]: 50% [1]: 0% [7.30.2.] brightness adjustment setting for brightness adjustment sub address: 0x0e [6:0] name definition br0 ~ br6 yout = yin + ( br x 2 ) yout: brightness obtained by the calculation yin: brightness before the calculation br: brightness gain factor (register setting value) the gain factor can be set in the range {-128 ~ 126} in step of 2. the setting is in 2?s complement.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 37 - [7.30.3.] color saturation adjustment setting for color saturation adjustment sub address: 0x0f [6:0] name definition sat0 ~ sat6 cout = (sat / 64) x cin cout: saturation obtained by the calculation cin: saturation before the calculation sat: saturation gain factor (register setting value) the gain factor can be set in the range {0~ (127 / 64)} in 1/64 step. default setting value is 0x40. [7.30.4.] hue adjustment setting for hue adjustment sub address: 0x10 [6:0] name definition hue0 ~ hue 6 the phase rotation can be set in the range of 45 in 1/128step (about 0.70step). the setting is in 2?s complement.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 38 - [7.31.] vbi information decoding the AK8859VN decodes closed-caption, closed-cap tion-extended, vbid(cgms), and wss signals on the vertical blanking signal, and writes the decoded dat a into a storage register. the AK8859VN reads each data bit in request vbi information register (sub address: 0x13 [3:0]) as a decoding request and thereupon enters a data wait state. data det ection and decoding to the st orage register are then performed which indicates the presence or absence of data at status 2 regi ster (sub address: 0x16 [3:0]) for host. the host can therefore determine the stored values by reading the respective storage registers. the value in each storage register is reta ined until a new value is written in by data renewal. for vbid data (cgms-a), the crcc code is decoded and only the arithmetic result is stored in the register. signal superimposed line notes closed caption line21 525-line closed caption extended data line284 525-line vbid line20 / 283 line20 / 333 525-line 625-line wss line23 625-line the storage registers for each of the signal types are as follows. for st orage bit allocations, please refer to the respective register setting descri ptions (sub address: 0x19 ~ 0x20). closed caption 1 register, closed ca ption 2 register, wss 1 register, wss 2 register, extended data 1 register, extended data 2 register, vbid 1 register, vbid 2 register. [request vbi information register] xxrq-bit = 1 (decode request) [status 2 register] read (check decode detection) request-bit = 1 ? read each storage register start yes no end
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 39 - [7.32.] internal status indicator the AK8859VN internal status can be acknowle dged by reading the following registers. [7.32.1.] input signal indicator indicates presence or absence of signal sub address: 0x15 [0] name setting value definition notes [0] signal detected nosig [1] no signal detected [7.32.2.] status of vlock mechanism indicates status of vlock sub address: 0x15 [1] name setting value definition notes [0] synchronized vlock [1] not synchronized [7.32.3.] interlace signal indicator indicates interlace or non-interlace of input signal sub address: 0x15 [2] name setting value definition notes [0] input signal 525/625 interlaced frmstd [1] input signal not 525/625 interlaced [7.32.4.] color killer operational indicates status of color killer (o n/off) sub address: 0x15 [3] name setting value definition notes [0] not operation colkilon [1] operation [7.32.5.] clock mode indicates status of clock mode sub address: 0x15 [5:4] name setting value definition notes [00] fixed-clock [01] line-locked clock [10] frame-locked clock sclkmode [11] reserved [7.32.6.] luminance decode overflow indicates status of luminance decode result after passage through agc block. sub address: 0x15 [6] name setting value definition notes [0] normal pkwhite [1] overflow
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 40 - [7.32.7.] color decode overflow indicates status of color decode re sult after passage through acc block. sub address: 0x15 [7] name setting value definition notes [0] normal ovcol [1] overflow [7.32.8.] agc status indicates status of adaptive agc sub address: 0x16 [5] name setting value notes [0] sync agc operation agcsts [1] peak agc operation [7.33.] macrovision signal detection the AK8859VN can detect a decode si gnal contains macrovision signal. the detection result can be confirmed via register. status of macrovision signal detection. sub address: 0x17 [2:0] name definition agcdet [0]: no macrovision agc process detected. [1]: macrovision agc process detected. csdet [0]: no color stripe process detected. [1]: color stripe process detected. cstype [0]: color stripe type2 in input signal. [1]: color stripe type3 in input signal.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 41 - [7.34.] auto detection result of input video signal in auto detection mode, the result can be ackn owledged by reading the following register. indicates result and status of auto detection mode sub address: 0x18 [7:0] name definition st_vscf0 ~ st_vscf1 input video signal subcarrier frequency indicator [ st_vscf1 : st_vscf0 ] ( mhz ) [00]: 3.57954545 (ntsc-m,j) [01]: 3.57561149 (pal-m) [10]: 3.58205625 (pal-nc) [11]: 4.43361875 (pal-b,d,g,h,i,n,60 , ntsc-4.43) st_vcen0 ~ st_vcen1 input signal color encode format indicator [st_vcen1 : st_vcen0] [00]: ntsc [01]: pal [10]: secam [11]: reserved st_vlf input signal line number indicator [0]: 525-line (ntsc-m,j , ntsc-4.43 , pal-m,60) [1]: 625-line (pal-b,d,g,h,i,n,nc , secam) st_bw input signal monochrome indicator* [0]: not monochrome [1]: monochrome undef input signal detection indicator [0]: input signal detected [1]: input signal not detected fixed input signal detection process status [0]: detection process in progress [1]: detection process completed *monochrome auto detection is enabled if the colo r killer setting is on(colkill-bit = [1]). if the user has deliberately entered the b/w-bit setting, input signal detection is limited to 525/625 line detection only.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 42 - [8.] device control interface the AK8859VN is controlled via i 2 c bus control interface, as described below. [8.1.] i 2 c bus slave address the i 2 c slave address can be selected by a sela pin setting of either [1000100] and [1000101]. slave address sela pin status msb lsb pulldown [low] 1 0 0 0 1 0 0 r/w pullup [high] 1 0 0 0 1 0 1 r/w [8.2.] i 2 c control sequence [8.2.1.] write sequence after receiving a write-mode slave address first by te, the AK8859VN receives the sub-address in the second byte and data in the subsequent bytes. the write sequence may be single-byte or multi-byte. (a) single-byte write sequence s slave address w a sub address a data a stp 8-bit 1-bit 8-bit 1-bit 8-bit 1-bit (b) multi-byte (m-bytes) write sequence (sequential write operation) s slave address w a sub address(n) a data(n) a data (n+1) a data (n+m) a stp 8-bit 1-bit 8-bit 1-bit 8-bit 1-bit 8-bit 1-bit ??????? 8-bit 1-bit [8.2.2.] read sequence after receiving a read-mode slave address as firs t byte, the AK8859VN sends data in the second and subsequent bytes. s slave address w a sub address(n) a rs slave address radata1 adata2 a data3 a ????? 8-bit 1 8-bit 1 8-bit 1 8-bit 1 8-bit 1 8-bit 1 ????????? ??? data n !a stp 8-bit 1 [8.2.3.] i 2 c general call AK8859VN respond to general call of i 2 c. if second byte after receiving general call is 0x06 (hex) , AK8859VN initialize its register. s general call address a second byte a stp 0x00 (hex. 8-bit) 1-bit 0x06 (hex. 8-bit) 1-bit data[7:0]-pin output: normal data output h/l indefinite dat a output low output(default state)
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 43 - abbreviations are follows. s: start condition rs: repeated start condition a: acknowledge (sda low ) !a: not acknowledge (sda high) stp: stop condition r/w 1: read 0: write : received from master device (normally microprocessor) : output by slave device (AK8859VN)
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 44 - [9.] register definitions sub address register default r/w function 0x00 input channel select regist er 0x00 r/w input channel setting 0x01 clamp control register 0x00 r/w a nalog clamp circuit setting register 0x02 input video standard register 0x00 r/w input video signal setting 0x03 ndmode register 0x00 r/w a uto detection limit setting 0x04 output format register 0x 00 r/w output data format setting 0x05 output pin control register 0x0f r/w output pin status setting 0x06 output pin polarity set register 0x00 r/w output pin polarity setting 0x07 control 0 register 0x00 r/w control register 0x08 control 1 register 0x00 r/w control register 0x09 reserved register 0x 00 r/w reserved register 0x0a pga1 control register 0x3c r/w pga1 gain setting 0x0b pga2 control register 0x3c r/w pga2 gain setting 0x0c agc and color control regist er 0x00 r/w agc and color control 0x0d contrast control regist er 0x40 r/w contrast adjustment 0x0e brightness control register 0x00 r/w brightness adjustment 0x0f saturation control register 0x40 r/w color saturation adjustment 0x10 hue control register 0x00 r/w hue adjustment 0x11 high slice data set register 0xeb r/w vbi slice data high setting 0x12 low slice data set register 0x10 r/w vbi slice data low setting 0x13 request vbi information register 0x00 r/w vbi interval decode request setting 0x14 reserved register 0x 00 r/w reserved register 0x15 status 1 register r internal status indicator 0x16 status 2 register r internal status indicator 0x17 macrovision status register r input macrovision signal indicator 0x18 input video status register r input signal detection indicator 0x19 closed caption 1 register r closed caption data indicator 0x1a closed caption 2 register r closed caption data indicator 0x1b wss 1 register r wss data indicator 0x1c wss 2 register r wss data indicator 0x1d extended data 1 register r closed caption extended data indicator 0x1e extended data 2 register r closed caption extended data indicator 0x1f vbid 1 register r vbid data indicator 0x20 vbid 2 register r vbid data indicator 0x21 device and revision id register r device id and revision id
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 45 - sub address register default r/w function 0x22 ~ 0x2f reserved register 0x00 r/w reserved register 0x30 reserved register 0x 0e r/w reserved register 0x31 ~ 0x3f reserved register 0x00 r/w reserved register for all other registers, write-in is prohibited. for all reserved registers, write-in must be limited to the default value.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 46 - [9.1.] register setting overview [9.1.1.] sub address 0x00 ?input channel select register (r/w)? input signal channel selection and clock mode selection register. sub address: 0x00 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 clkmd reserved reserved reserved reserved reserved ainsel1 ainsel0 default value 0 0 0 0 0 0 0 0 input channel select register definition bit register name r/w definition bit 0 ~ bit 1 ainsel0 ~ ainsel1 analog input select r/w input video signal selection [ ainsel1 : ainsel0 ] [00]: ain1 (cvbs) [01]: ain2 (cvbs) [10]: ain1(y) / ain2(c) (s-video) [11]: no input setting (analog circuit is set to power-down*) bit 2 ~ bit 6 reserved reserved r/w reserved bit 7 clkmd clock mode r/w clock mode selection [0]: for crystal [1]: external clock input (clock generator etc.) *clamp and adc block is power-downed. in used with ainsel[1:0]=[11], ouput data is depend on nsigmd[1:0]?bit. however, in used with nsigmd[1:0]=[10], data[7:0]-pin, hd -pin, vd_f-pin and var-pin output low.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 47 - [9.1.2.] sub address 0x01 ?cla mp control register (r/w)? analog clamps circuit setting register. sub address: 0x01 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved clpwidth reserved reserved clpg1 clpg0 default value 0 0 0 0 0 0 0 0 clamp control register definition bit register name r/w definition bit 0 ~ bit 1 clpg0 ~ clpg1 clamp gain r/w current value of clamp in analog circuit setting [00]: min. [01]: middle 1 {=(min. x 3)} [10]: middle 2 {=(min. x 5)} [11]: max. {=(min. x 7)} bit 2 ~ bit 3 reserved reserved r/w reserved bit 4 clpwidth clamp pulse width r/w clamp pulse width setting. [0]: 275nsec [1]: 555nsec bit 5 ~ bit 7 reserved reserved r/w reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 48 - [9.1.3.] sub address 0x02 ?input video standard register (r/w)? input signal setting sub address: 0x02 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 autodet setup bw vlf vc en1 vcen0 vscf1 vscf0 default value 0 0 0 0 0 0 0 0 input video standard register definition bit register name r/w definition bit 0 ~ bit 1 vscf0 ~ vscf1 video sub-carrier frequency r/w input video signal subcarrier frequency setting [ vscf1 : vscf0 ] ( mhz ) [00]: 3.57954545 (ntsc-m,j) [01]: 3.57561149 (pal-m) [10]: 3.58205625 (pal-nc) [11]: 4.43361875(pal-b,d,g,h,i,n ,60, ntsc-4.43, secam*) bit 2 ~ bit 3 vcen0 ~ vcen1 video color encode r/w input signal color encode format setting [vcen1 : vcen0] [00]: ntsc [01]: pal [10]: secam [11]: reserved bit 4 vlf video line frequency r/w input signal line frequency setting [0]: 525-line (ntsc-m,j, ntsc-4.43, pal-m,60) [1]: 625-line (pal-b,d,g,h,i,n, pal-nc, secam) bit 5 bw black & white r/w monochrome mode (on/off) setting [0]: monochrome mode off [1]: monochrome mode on bit 6 setup setup r/w setup process setting [0]: process as input signal with no setup [1]: process as input signal with setup bit 7 autodet video standard auto detect r/w input signal auto detection setting [0]: off (auto detection disabled; set manually) [1]: on (auto detection enabled) *for secam input signal, change vscf[1:0] setting to [11].
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 49 - [9.1.4.] sub address 0x03 ?ndmode register (r/w)? limiting auto input video signal detection candidates register setting. sub address: 0x03 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 nd625l nd525l ndpal60 ndntsc443 re served ndsecam ndpalnc ndpalm default value 0 0 0 0 0 0 0 0 ndmode register definition bit register name r/w definition bit 0 ndpalm no detect pal-m r/w [0]: pal-m candidate [1]: pal-m non-candidate bit 1 ndpalnc no detect pal-nc r/w [0]: pal-nc candidate [1]: pal-nc non-candidate bit 2 ndsecam no detect secam r/w [0]: secam candidate [1]: secam non-candidate bit 3 reserved reserved r/w reserved bit 4 ndntsc443 no detect ntsc-4.43 r/w [0]: ntsc-4.43 candidate [1]: ntsc-4.43 non-candidate bit 5 ndpal60 no detect pal-60 r/w [0]: pal-60 candidate [1]: pal-60 non-candidate bit 6 nd525l no detect 525line r/w [0]: 525 line candidate [1]: 525 line non-candidate bit 7 nd625l no detect 625line r/w [0]: 625 line candidate [1]: 625 line non-candidate in making the above register settings, the following restrictions apply, 1. setting both ndntsc443(bit 4) and ndpal60(bit 5) to [1] (high) is prohibited. 2. setting both nd525l(bit 6) and nd625l(bit 7) to [1] (high) is prohibited. 3. to limit candidate formats, it is necessary to have the auto detection mode off while first setting the register to non-limited signal status and next the ndmode settings, and then setting the auto detection mode to on.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 50 - [9.1.5.] sub address 0x04 ?output format register (r/w)? output data format setting register. sub address: 0x04 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 vbidec1 vbidec0 sllvl trsvsel limit601 vbil2 vbil1 vbil0 default value 0 0 0 0 0 0 0 0 output format register definition bit register name r/w definition bit 0 ~ bit 2 vbil0 ~ vbil2 vertical blanking length r/w vertical blanking interval length setting, entered as difference from the default settings the default settings are: 525line: line1 ~ line19 / line263.5 ~ line282.5 625line: line623.5 ~ line23.5 / line311 ~ line335 examples of lengthening and shortening: if lengthened 1 line, the interval becomes 525line: line1 ~ line20 / line263.5 ~ line283.5 625line: line623.5 ~ line24.5 / line311 ~ line336 if shortened 1 line, the interval becomes 525line: line1 ~ line18 / line263.5 ~ line281.5 625line: line623.5 ~ line22.5 / line311 ~ line334 [ vbil2 : vbil0 ] [001]: vbi lengthened 1 line [010]: vbi lengthened 2 lines [011]: vbi lengthened 3 lines [000]: default [101]: vbi shortened 3 lines [110]: vbi shortened 2 lines [111]: vbi shortened 1 line [100]: reserved bit 3 limit601 601 output limit r/w output data code limit (min-max) setting [0]: 1-254 (y/cb/cr) [1]: 16-235 (y) / 16-240 (cb/cr) bit 4 trsvsel time reference signal v select r/w setting of lines for ?time reference signal? v-bit value change in itu-r bt.656 format 525-line input if setting [0]: v=1 (line1 ~ line9 / line264 ~ line272) v=0 (line10 ~ line263 / line273 ~ line525) if setting [1]: v=1 (line1 ~ line19 / line264 ~ line282) v=0 (line20 ~ line263 / line283 ~ line525)
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 51 - 625-line input always (regardless of setting on this register): v=1 (line1 ~ line22 / line311 ~ line335 / line624 ~ line625) v=0 (line23 ~ line310 / line336 ~ line623) bit 5 sllvl slice level r/w slice level setting [0]: slice level approx. 25 ire [1]: slice level approx. 50 ire bit 6 ~ bit 7 vbidec0 ~ vbidec1 vbi decode r/w setting for type of data output during interval set in vertical blanking interval register [vbidec1 : vbidec0] [00]: black level data output [01]: monochrome data output [10]: slice result data output [11]: reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 52 - [9.1.6.] sub address 0x05 ?output pin control register (r/w)? output pins status setting register. sub address: 0x05 default value: 0x0f bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 varsel1 varsel0 vd_fsel oen hl varl vd_fl dl default value 0 0 0 0 1 1 1 1 output pin control register definition bit register name r/w definition bit 0 dl d output low r/w [0]: normal output [1]: [d17: d0] pin output fixed at low bit 1 vd_fl vd/field low r/w [0]: normal output [1]: vd_f pin output fixed at low bit 2 varl var low r/w [0]: normal output [1]: var pin output fixed at low bit 3 hl hd low r/w [0]: normal output [1]: hd pin output fixed at low bit 4 oen output enable r/w [0]: normal output for each digital output pins* [1]: hi-z output for each digital output pins. bit 5 vd_fsel vd/field select r/w vd_f pin output signal selection. [0]: vd signal output [1]: field signal output bit 6 ~ bit 7 varsel0 ~ varsel1 dvalid/field nsig/line select r/w var pin output signal selection [ varsel1 : varsel0 ] [00]: dvalid signal output [01]: field signal output [10]: nsig signal output [11]: line signal output *collective term for dtclk, da ta[7:0], hd, vd_f and var pins. however, the pdn pin states will have priority regardless of these regist er setting. when pdn pin is low output, the output from the dtclk, data[7:0], vd_f, var and hd pins is low output.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 53 - [9.1.7.] sub address 0x06 ?output pin polarity set register (r/w)? output pins polarity setting register. sub address: 0x06 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 varp vd_fp hdp clkinv reserved reserved reserved reserved default value 0 0 0 0 0 0 0 0 output pin polarity set register definition bit register name r/w definition bit 0 ~ bit 3 reserved reserved r/w reserved bit 4 clkinv clk invert set r/w dtclk signal output polarity setting. [0]: normal output (write in data at rising edge) [1]: data and clock reversed (write in data at falling edge) bit 5 hdp hd pin polarity set r/w hd signal polarity setting [0]: active low [1]: active high bit 6 vd_fp vd_f pin polarity set r/w vd_f pin output signal polarity setting (if vd signal is output) [0]: active low [1]: active high (if field signal is output) [0]: odd-field low, even-field high [1]: even-field low, odd-field high bit 7 varp var pin polarity set r/w var pin output signal polarity setting (if dvalid signal is output) [0]: active low [1]: active high (if field signal is output) [0]: odd-field low , even-field high [1]: even-field low , odd-field high (if nsig signal is output) [0]: when the input signal is absent the output is high. [1]: when the input signal is absent the output is low. (if line signal is output) [0]: 525l-low, 625l-high [1]: 625l-low, 525l-high
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 54 - [9.1.8.] sub address 0x07 ?control 0 register (r/w)? sub address: 0x07 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 verts actsta2 actsta1 actsta0 nsigmd1 nsigmd0 dpal1 dpal0 default value 0 0 0 0 0 0 0 0 control 0 register definition bit register name r/w definition bit 0 ~ bit 1 dpal0 ~ dpal1 deluxe pal r/w setting for color averaging* (pal phase correction block) also applicable to ntsc. [ dpal1 : dpal0 ] [00]: adaptive phase correction on [01]: phase correction on [10]: phase correction off [11]: reserved bit 2 ~ bit 3 nsigmd0 ~ nsigmd1 no signal output mode r/w setting for output on no-signal detection [ nsigmd1 : nsigmd0 ] [00]: black-level output [01]: blue-level (blueback) output [10]: input status (sandstorm) output [11]: reserved bit 4 ~ bit 6 actsta0 ~ actsta2 active video start r/w fine-tuning video data decode start position delay or advance 1 sample unit is 13.5mhz (about 74ns) [ actsta2 : actsta0 ] [001]: 1sample delay [010]: 2sample delay [011]: 3sample delay [000]: normal start position [101]: 3sample advance [110]: 2sample advance [111]: 1sample advance [100]: reserved bit 7 verts vertical sync way r/w vertical sync mechanism setting [0]: vlock mechanism [1]: direct lock mechanism
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 55 - [9.1.9.] sub address 0x08 ?control 1 register (r/w)? sub address: 0x08 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 clkmode1 clkmode0 intpol1 intpol0 reserved eavsavn ycsep1 ycsep0 default value 0 0 0 0 0 0 0 0 control 1 register definition bit register name r/w definition bit 0 ~ bit 1 ycsep0 ~ ycsep1 yc separation control r/w y/c separation setting [ ycsep1 : ycsep0 ] [00]: adaptive y/c separation [01]: 1-dimensional y/c separation [10]: 2-dimensional y/c separation [11]: reserved bit2 eavsavn eav sav disable r/w eav/sav code output (on/off) setting. [0]: eav/sav code is superimposed to output data. [1]: eav/sav code is not output. bit 3 reserved reserved r/w reserved bit 4 ~ bit 5 intpol0 ~ intpol1 interpolator mode select r/w pixel interpolator setting [ intpol1 : intpol0 ] [00]: auto [01]: on [10]: off [11]: reserved bit 6 ~ bit 7 clkmode0 ~ clkmode1 clock mode select r/w clock mode setting [ clkmode1 : clkmode0 ] [00]: automatic transition mode [01]: line-locked clock mode [10]: frame-locked clock mode [11]: fixed-clock mode [9.1.10.] sub address 0x09 ?reserved register (r/w)? reserved register. sub address: 0x09 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved reserved reserved reserved reserved reserved default value 0 0 0 0 0 0 0 0
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 56 - [9.1.11.] sub address 0x0a ?pga1 control register (r/w)? pga1 gain control setting register. pga1 is used for cvbs and y signals gain processing. sub address: 0x0a default value: 0x3c bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pga1_7 pga1_6 pga1_5 pga1_4 pga1_3 pga1_2 pga1_1 pga1_0 default value 0 0 1 1 1 1 0 0 pga1 control register definition bit register name r/w definition bit 0 ~ bit 7 pga1_0 ~ pga1_7 pga1 gain set r/w pga1 gain setting. pga gain is set by follows equation. [9.1.12.] sub address 0x0b ?pga2 control register (r/w)? pga2 gain control setting register. pga2 is used for c signal gain processing. sub address: 0x0b default value: 0x3c bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pga2_7 pga2_6 pga2_5 pga2_4 pga2_3 pga2_2 pga2_1 pga2_0 default value 0 0 1 1 1 1 0 0 pga2 control register definition bit register name r/w definition bit 0 ~ bit 7 pga2_0 ~ pga2_7 pga2 gain set r/w pga2 gain setting. pga gain is set by follows equation. pga gain equation: gain(db) ( ) ? ? ? ? ? ? + = 5 . 401 5 . 251 5 . 2 20 pga log * pga: pga1orpga2 register value (dec.) default gain setting is 0x3c (hex) =0.00db.
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 57 - [9.1.13.] sub address 0x0c ?agc and color control register (r/w)? agc and color setting register. sub address: 0x0c default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ckilldis contsel acc sharp agcc1 agcc0 reserved agc default value 0 0 0 0 0 0 0 0 agc and color control register definition bit register name r/w definition bit 0 agc agc setting r/w agc (on/off) setting. [0]: agc off [1]: agc on bit 1 reserved reserved r/w reserved bit 2 ~ bit 3 agcc0 ~ agcc1 agc coring control r/w agc non-sensing bandwidth (lsb) setting [ agcc1 : agcc0 ] [00]: 2lsb [01]: 3lsb [10]: 4lsb [11]: no non-sensing band bit 4 sharp sharp r/w sharpness adjustment setting [0]: no filtering [1]: filter bit 5 acc acc setting r/w acc (on/off) setting [0]: acc off [1]: acc on bit 6 contsel contrast select r/w contrast inclination selector [0]: 50% [1]: 0% bit 7 ckilldiss color killer disable set r/w color killer enable/disable setting [0]: enable [1]: disable
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 58 - [9.1.14.] sub address 0x0d ?contrast control register (r/w)? contrast adjustment setting register. sub address: 0x0d default value: 0x40 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved cont6 cont5 cont4 cont3 cont2 cont1 cont0 default value 0 1 0 0 0 0 0 0 contrast control register definition bit register name r/w definition bit 0 ~ bit 6 cont0 ~ cont6 contrast control r/w contrast adjustment setting [if contsel-bit =[0]] yout = (cont / 64) x ( yin - 128) +128 [if contsel-bit =[1]] yout = (cont / 64) x yin yout: contrast obtained by the calculation yin: contrast before the calculation cont: contrast gain factor (register setting value) register for contrast adjustment in steps of 1/64 in range {0~ (127 / 64)}. default value is 0x40. bit 7 reserved reserved r/w reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 59 - [9.1.15.] sub address 0x0e ?brightness control register (r/w)? brightness adjustment setting register. sub address: 0x0e default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved br6 br5 br4 br3 br2 br1 br0 default value 0 0 0 0 0 0 0 0 brightness control register definition bit register name r/w definition bit 0 ~ bit 6 br0 ~ br6 brightness control r/w brightness adjustment setting yout = yin + ( br x 2 ) yout: brightness obtained by the calculation yin: brightness before the calculation br: brightness gain factor (register setting value) register for brightness adjustment in steps of 2 in range of {-128 ~ 126}. brightness setting is in 2?s complement. bit 7 reserved reserved r/w reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 60 - [9.1.16.] sub address 0x0f ?saturation control register (r/w)? color saturation adjustment setting register. sub address: 0x0f default value: 0x40 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved sat6 sat 5 sat 4 sat 3 sat 2 sat 1 sat 0 default value 0 1 0 0 0 0 0 0 saturation control register definition bit register name r/w definition bit 0 ~ bit 6 sat0 ~ sat6 saturation control r/w color saturation adjustment setting. cout = (sat / 64) x cin cout: saturation obtained by the calculation cin: saturation before the calculation sat: saturation gain factor (register setting value) register for saturation adjustment in steps of 1/64 in range {0~ (127 / 64)}. default value is 0x40. bit 7 reserved reserved r/w reserved [9.1.17.] sub address 0x10 ?h ue control register (r/w)? hue adjustment setting register. sub address: 0x10 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved hue6 hue 5 hue 4 hue 3 hue 2 hue 1 hue 0 default value 0 0 0 0 0 0 0 0 hue control register definition bit register name r/w definition bit 0 ~ bit 6 hue0 ~ hue 6 hue control r/w hue adjustment setting register for hue adjustment in steps of 1/256 in range 45 in 2?s complement bit 7 reserved reserved r/w reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 61 - [9.1.18.] sub address 0x11 ?high slice data set register (r/w)? register for setting sliced data from vbi s licer to high value. default code is 235. sub address: 0x11 default value: 0xeb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 h7 h6 h5 h4 h3 h2 h1 h0 default value 1 1 1 0 1 0 1 1 high slice data set register definition bit register name r/w definition bit 0 ~ bit 7 h0 ~ h7 high data set r/w register for setting sliced data from vbi slicer to high value (default code is 235). important: corresponds to 601 special code if set to 0x00 or 0xff [9.1.19.] sub address 0x12 ?low slice data set register (r/w)? register for setting sliced data from vbi s licer to low value. default code is 16. sub address: 0x12 default value: 0x10 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 l7 l6 l5 l4 l3 l2 l1 l0 default value 0 0 0 1 0 0 0 0 low slice data set register definition bit register name r/w definition bit 0 ~ bit 7 l0 ~ l7 low data set r/w register for setting sliced data from vbi slicer to low value (default code is 16). important: corresponds to 601 special code if set to 0x00 or 0xff
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 62 - [9.1.20.] sub address 0x13 ?request vbi information register (r/w)? requested decode data during vbi interval setting register. sub address: 0x13 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved reserved wssrq vbidrq extrq ccrq default value 0 0 0 0 0 0 0 0 request vbi information register definition bit register name r/w definition bit 0 ccrq closed caption decode request r/w setting (on/off) for closed caption decode request [0]: no request (off) [1]: request (on) bit 1 extrq extended data decode request r/w setting (on/off) for extended data decode request [0]: no request (off) [1]: request (on) bit 2 vbidrq vbid decode request r/w setting (on/off) for vbid decode request [0]: no request (off) [1]: request (on) bit 3 wssrq wss decode request r/w setting (on/off) for wss decode request [0]: no request (off) [1]: request (on) bit 4 ~ bit 7 reserved reserved r/w reserved [9.1.21.] sub address 0x14 ?reserved register (r/w)? reserved register. sub address: 0x14 default value: 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved reserved reserved reserved reserved reserved default value 0 0 0 0 0 0 0 0
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 63 - [9.1.22.] sub address 0x15 ?status 1 register (r only)? internal status register. sub address: 0x15 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ovcol pkwhite sclkmd1 sclkmd0 colkilon frmstd vlock nosig status 1 register definition bit register name r/w definition bit 0 nosig no signal r input signal indicator [0]: input signal present [1]: input signal absent bit 1 vlock video locked r input signal vlock synchronization status indicator [0]: input signal synchronized [1]: input signal non-synchronized bit 2 frmstd frame standard r input signal interlace status indicator [0]: input signal 525/625 interlaced [1]: input signal not 525/625 interlaced bit 3 colkilon color killer r color killer status indicator [0]: color killer not operation [1]: color killer operation bit 4 ~ bit 5 sclkmd0 ~ sclkmd1 clock mode r clock mode indicator [ sclkmd1 : sclkmd0 ] [00]: fixed-clock mode [01]: line-locked clock mode [10]: frame-locked clock mode [11]: reserved bit 6 pkwhite peak white detection r luminance decode result flow status indicator, after passage through agc block [0]: normal [1]: overflow bit 7 ovcol over color level r color decode result flow status indicator, after passage through acc block [0]: normal [1]: overflow
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 64 - [9.1.23.] sub address 0x16 ?status 2 register (r only)? internal status register. sub address: 0x16 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved agcsts reserved wssdet vbiddet extdet ccdet status 2 register definition bit register name r/w definition bit 0 ccdet closed caption detect r indicator for presence of deco ded data in closed caption 1, 2 register [0]: no closed caption data present [1]: closed caption data present bit 1 extdet extended data detect r indicator for presence of decoded data in extended data 1, 2 register [0]: no extended data present [1]: extended data present bit 2 vbiddet vbid data detect r indicator for presence of decoded data in vbid 1/2 register [0]: no vbid data present [1]: vbid data present bit 3 wssdet wss data detect r indicator for presence of decoded data in wss 1/2 register [0]: no wss data present [1]: wss data present bit 4 reserved reserved r reserved bit 5 agcsts agc status r [0]: sync agc active [1]: peak agc active bit 6 ~ bit 7 reserved reserved r reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 65 - [9.1.24.] sub address 0x17 ?macrovision status register (r only)? macrovision signal status register. sub address: 0x17 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved reserved reserved cstype csdet agcdet macrovision status register definition bit register name r/w definition bit 0 agcdet agc process detect r indicator for presence of macrovision agc in input signal [0]: no macrovision agc present [1]: macrovision agc present bit 1 csdet color stripe detect r indicator for presence of macrovision color stripe in input signal [0]: no color stripe present [1]: color stripe present bit 2 cstype color stripe type r indicator for type of color stripe included in input signal [0]: color stripe type2 [1]: color stripe type3 bit 3 ~ bit 7 reserved reserved r reserved
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 66 - [9.1.25.] sub address 0x18 ?input video status register (r only)? input video status register for auto detection mode. sub address: 0x18 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 fixed undef st_b/w st_vlf st_vce n1 st_vcen0 st_vscf1 st_vscf0 input video status register definition bit register name r/w definition bit 0 ~ bit 1 st_vscf0 ~ st_vscf1 status of video sub-carrier frequency r input video signal subcarrier frequency indicator [ st_vscf1 : st_vscf0 ] ( mhz ) [00]: 3.57954545 (ntsc-m,j) [01]: 3.57561149 (pal-m) [10]: 3.58205625 (pal-nc) [11]: 4.43361875 (pal-b,d,g,h,i,n,60,ntsc-4.43,secam*) bit 2 ~ bit 3 st_vcen0 ~ st_vcen1 status of video color encode r input signal color encode format indicator [ st_vcen1 : st_vcen0 ] [00]: ntsc [01]: pal [10]: secam [11]: reserved bit 4 st_vlf status of video line frequency r input signal line frequency setting [0]: 525-line (ntsc-m,j, ntsc-4.43, pal-m,60) [1]: 625-line (pal-b,d,g,h,i,n, pal-nc, secam) bit 5 st_bw status of b/w signal r monochrome mode (on/off) setting [0]: monochrome mode off [1]: monochrome mode on bit 6 undef un_define r setup process setting [0]: process as input signal with no setup [1]: process as input signal with setup bit 7 fixed input video standard fixed r input signal auto detection setting [0]: off (auto detection disabled; set manually) [1]: on (auto detection enabled) *for secam input signal, change vscf[1:0] setting to [11].
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 67 - [9.1.26.] sub address 0x19 ?closed caption 1 register (r only)? closed caption data storage register sub address: 0x19 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cc7 cc6 cc5 cc4 cc3 cc2 cc1 cc0 [9.1.27.] sub address 0x1a ?closed caption 2 register (r only)? closed caption data storage register sub address: 0x1a bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cc15 cc14 cc13 cc12 cc 11 cc10 cc9 cc8 [9.1.28.] sub address 0x1b ?wss 1 register (r only)? wss data storage register sub address: 0x1b bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 wss2-7 wss2-6 wss2-5 wss2-4 wss1-3 wss1 -2 wss1-1 wss1-0 [9.1.29.] sub address 0x1c ?wss 2 register (r only)? wss data storage register sub address: 0x1c bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved wss4-13 wss4 -12 wss4-11 wss3-10 wss3-9 wss3-8 [9.1.30.] sub address 0x1d ?extended data 1 register (r only)? closed caption extended data storage register sub address: 0x1d bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ext7 ext6 ext5 ext4 ext3 ext2 ext1 ext0 [9.1.31.] sub address 0x1e ?extended data 2 register (r only)? closed caption extended data storage register sub address: 0x1e bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ext15 ext14 ext13 ext12 ext11 ext10 ext9 ext8 [9.1.32.] sub address 0x1f ?vbid 1 register (r only)? vbid data storage register sub address: 0x1f bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved vbid1 vbi d2 vbid3 vbid4 vbid5 vbid6 [9.1.33.] sub address 0x20 ?vbid 2 register (r only)? vbid data storage register sub address: 0x20 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 vbid7 vbid8 vbid9 vbid10 vbid11 vbid12 vbid13 vbid14
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 68 - [9.1.34.] sub address 0x21 ?device and revision id register (r only)? device id and revision information indicator. device id: 0x3b revision id: initially 0x00; revision number changes only when control software should be modified. sub address: 0x21 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rev1 rev0 did5 did4 did3 did2 did1 did0 default value 0 0 1 1 1 0 1 1 device and revision id register definition bit register name r/w definition bit 0 ~ bit 5 did0 ~ did5 device id r device id indicator (0x3b) bit 6 ~ bit 7 rev0 ~ rev1 revision id r revision id indicator (initially 0x00)
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 69 - [10.] system connection example 47 30 ain1 0.033uf 0.1uf 0.1uf vrp vcom vrn sda scl pdn micro processor (i 2 c controller) data[7:0] dtclk var vd_f hd analog gnd digital gnd test AK8859VN iref video in m   pvdd pull  up 0.1uf xti 24.576 mhz xto 22pf 22pf sela pvdd pvdd 0.1uf 10uf dvdd dvdd 0.1uf 10uf dvss dvss avdd avdd 0.1uf 10uf avss 47 30 ain2 0.033uf video in
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 70 - [11.] package 5.000.10 4.750.10 5.000.10 4.750.10 0.50 c b 0.08 0.850.05 c a 0.400.10 3.10 3.10 0.23 +0.07 -0.05 0.20 m 0.10 ab c0 . 4 2 0.01 +0.04 -0.01
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 71 - [12.] marking 1 akm 8859 xxxx akm: akm logo 8859: marketing code xxxx (4 digits): date code
[AK8859VN] ms1179-e-00 akm confidential 2010/04 - 72 - z these products and their specifications are subject to change without notice. before considering any use or applicatio n, consult the asahi kasei microsystems co., ltd. (akm) sales office or authorized distributor concerning their current status. z akm assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any information contained herein. z any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. z akm products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and akm assumes no responsibility relating to any such use, except with the expres s written consent of the representative director of akm. as used here: (a) a hazard related device or system is one designed or intended for life support or maintenance of safety or for applic ations in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. (b) a critical component is one whose failure to function or perform may reasonably be expected to result, whether direct ly or indirectly, in the loss of the safety or effectiveness of the device or syst em containing it, and which must therefore meet very high standards of performance and reliability. z it is the responsibility of the buyer or di stributor of an akm pr oduct who distributes, disposes of, or otherwise places the prod uct with a third party to notify that party in advance of the above content and conditions, and t he buyer or distributor agrees to assume any and all responsibility and liability for and hold akm harmless from any and all claims arising from the use of said produc t in the absence of such notification.


▲Up To Search▲   

 
Price & Availability of AK8859VN

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X